<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
        <title>TwitterM2i© - Tweet</title>
    </h:head>
    <h:body>
           
        <h:form>
            <h:panelGrid  columns="5" cellspacing="4">
                <h:link outcome="tweet">Tweeter</h:link>
                <h:link outcome="profile">Mon Profil</h:link>
                <h:link outcome="HashTagRecherche">Recherche hashtag</h:link>
                <h:link outcome="listUser">Follow any Users</h:link>
                <h:link outcome="ListTweet">Retweet any tweet</h:link>
            </h:panelGrid>
            <br />
            Let's tweet : 
        <h:inputText value="#{TweetBean.message}" maxlength="140" />
        <h:commandButton type="submit" value="Tweet" action="#{TweetBean.tweet}"/>
        </h:form>
    </h:body>    
</html>

